#include <stdint.h>

const uint8_t sprite_data[64] = {
    0x3C,0x3C,0x42,0x7E,0x99,0xFF,0xA9,0xFF,0x89,0xFF,0x89,0xFF,0x42,0x7E,0x3C,0x3C,
    0x3C,0x3C,0x42,0x7E,0xB9,0xFF,0x89,0xFF,0x91,0xFF,0xB9,0xFF,0x42,0x7E,0x3C,0x3C,
    0x3C,0x3C,0x42,0x7E,0x99,0xFF,0x89,0xFF,0x99,0xFF,0x89,0xFF,0x5A,0x7E,0x3C,0x3C,
    0x3C,0x3C,0x42,0x7E,0xA9,0xFF,0xA9,0xFF,0xB9,0xFF,0x89,0xFF,0x42,0x7E,0x3C,0x3C 
};

const uint8_t tiles_data[1488] = {
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x21,0x3f,0x41,0x7f,0x43,0x7f,0x43,0x7f,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x84,0xfc,0x82,0xfe,0xc2,0xfe,0xc2,0xfe,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x27,0x3f,0x47,0x7f,0x43,0x7f,0x43,0x7f,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0xe4,0xfc,0xe2,0xfe,0xc2,0xfe,0xc2,0xfe,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3f,0x41,0x7f,0x47,0x7f,0x47,0x7f,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x64,0xfc,0xe2,0xfe,0xe2,0xfe,0xe2,0xfe,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x26,0x3f,0x47,0x7f,0x47,0x7f,0x47,0x7f,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0xfc,0x82,0xfe,0xe2,0xfe,0xe2,0xfe,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3c,0x40,0x7b,0x40,0x78,0x40,0x7b,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x3c,0x02,0xde,0x02,0x1e,0x02,0xde,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x38,0x40,0x7b,0x40,0x78,0x40,0x7b,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x3c,0x02,0xde,0x02,0x3e,0x02,0xde,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3c,0x40,0x7b,0x40,0x7c,0x40,0x7f,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x1c,0x02,0xfe,0x02,0x3e,0x02,0xde,
    0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3c,0x40,0x7b,0x40,0x79,0x40,0x7c,
    0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x8c,0x02,0xbe,0x02,0x9e,0x02,0xbe,
    0x47,0x7f,0x67,0x7f,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0xe2,0xfe,0xe6,0xfe,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x41,0x7f,0x61,0x7f,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0x82,0xfe,0x86,0xfe,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x41,0x7f,0x60,0x7f,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0xe2,0xfe,0x66,0xfe,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x47,0x7f,0x66,0x7f,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0x82,0xfe,0x06,0xfe,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x40,0x7b,0x60,0x7b,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0x02,0xde,0x06,0xde,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x40,0x7b,0x60,0x78,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0x02,0xde,0x06,0x3e,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x40,0x7f,0x60,0x78,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0x40,0x7e,0x60,0x79,0x60,0x7f,0x30,0x3f,0x3c,0x3f,0x1f,0x1f,0x0f,0x0f,0x03,0x03,
    0x02,0xbe,0x06,0x8e,0x06,0xfe,0x0c,0xfc,0x3c,0xfc,0xf8,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x21,0x3f,0x41,0x7f,0x43,0x7f,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x84,0xfc,0x82,0xfe,0xc2,0xfe,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x27,0x3f,0x47,0x7f,0x43,0x7f,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0xe4,0xfc,0xe2,0xfe,0xc2,0xfe,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3f,0x41,0x7f,0x47,0x7f,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x64,0xfc,0xe2,0xfe,0xe2,0xfe,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x26,0x3f,0x47,0x7f,0x47,0x7f,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0xfc,0x82,0xfe,0xe2,0xfe,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3c,0x40,0x7b,0x40,0x78,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x3c,0x02,0xde,0x02,0x1e,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x38,0x40,0x7b,0x40,0x78,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x3c,0x02,0xde,0x02,0x3e,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3c,0x40,0x7b,0x40,0x7c,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x1c,0x02,0xfe,0x02,0x3e,
    0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x3f,0x20,0x3c,0x40,0x7b,0x40,0x79,
    0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xfc,0x04,0x8c,0x02,0xbe,0x02,0x9e,
    0x43,0x7f,0x47,0x7f,0x67,0x7f,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0xc2,0xfe,0xe2,0xfe,0xe6,0xfe,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x43,0x7f,0x41,0x7f,0x61,0x7f,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0xc2,0xfe,0x82,0xfe,0x86,0xfe,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x47,0x7f,0x41,0x7f,0x60,0x7f,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0xe2,0xfe,0xe2,0xfe,0x66,0xfe,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x47,0x7f,0x47,0x7f,0x66,0x7f,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0xe2,0xfe,0x82,0xfe,0x06,0xfe,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x40,0x7b,0x40,0x7b,0x60,0x7b,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0x02,0xde,0x02,0xde,0x06,0xde,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x40,0x7b,0x40,0x7b,0x60,0x78,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0x02,0xde,0x02,0xde,0x06,0x3e,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x40,0x7f,0x40,0x7f,0x60,0x78,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0x40,0x7c,0x40,0x7e,0x60,0x79,0x20,0x3f,0x30,0x3f,0x1c,0x1f,0x0f,0x0f,0x03,0x03,
    0x02,0xbe,0x02,0xbe,0x06,0x8e,0x04,0xfc,0x0c,0xfc,0x38,0xf8,0xf0,0xf0,0xc0,0xc0,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x1e,0x21,0x3e,0x41,0x3c,0x43,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x78,0x84,0x7c,0x82,0x3c,0xc2,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x18,0x27,0x38,0x47,0x3c,0x43,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x18,0xe4,0x1c,0xe2,0x3c,0xc2,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x1f,0x20,0x3e,0x41,0x38,0x47,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x98,0x64,0x1c,0xe2,0x1c,0xe2,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x19,0x26,0x38,0x47,0x38,0x47,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0xf8,0x04,0x7c,0x82,0x1c,0xe2,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x1c,0x20,0x3b,0x40,0x38,0x40,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x38,0x04,0xdc,0x02,0x1c,0x02,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x18,0x20,0x3b,0x40,0x38,0x40,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x38,0x04,0xdc,0x02,0x3c,0x02,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x1c,0x20,0x3b,0x40,0x3c,0x40,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x18,0x04,0xfc,0x02,0x3c,0x02,
    0x00,0x00,0x00,0x03,0x03,0x0c,0x0f,0x10,0x1f,0x20,0x1c,0x20,0x3b,0x40,0x39,0x40,
    0x00,0x00,0x00,0xc0,0xc0,0x30,0xf0,0x08,0xf8,0x04,0x88,0x04,0xbc,0x02,0x9c,0x02,
    0x3c,0x43,0x38,0x47,0x18,0x67,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0x3c,0xc2,0x1c,0xe2,0x18,0xe6,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0,
    0x3c,0x43,0x3e,0x41,0x1e,0x61,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0x3c,0xc2,0x7c,0x82,0x78,0x86,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0,
    0x38,0x47,0x3e,0x41,0x1f,0x60,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0x1c,0xe2,0x1c,0xe2,0x98,0x66,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0,
    0x38,0x47,0x38,0x47,0x19,0x66,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0x1c,0xe2,0x7c,0x82,0xf8,0x06,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0,
    0x3b,0x40,0x3b,0x40,0x1b,0x60,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0xdc,0x02,0xdc,0x02,0xd8,0x06,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0,
    0x3b,0x40,0x3b,0x40,0x18,0x60,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0xdc,0x02,0xdc,0x02,0x38,0x06,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0,
    0x3f,0x40,0x3f,0x40,0x18,0x60,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0x3c,0x40,0x3e,0x40,0x19,0x60,0x1f,0x20,0x0f,0x30,0x03,0x1c,0x00,0x0f,0x00,0x03,
    0xbc,0x02,0xbc,0x02,0x88,0x06,0xf8,0x04,0xf0,0x0c,0xc0,0x38,0x00,0xf0,0x00,0xc0
};

const uint8_t normal_buttons[8][4] = {
    {0x00,0x01,0x10,0x11},{0x02,0x03,0x12,0x13},{0x04,0x05,0x14,0x15},{0x06,0x07,0x16,0x17},
    {0x08,0x09,0x18,0x19},{0x0a,0x0b,0x1a,0x1b},{0x0c,0x0d,0x1c,0x1b},{0x0e,0x0f,0x1d,0x1e}
};
const uint8_t pressed_buttons[8][4] = {
    {0x1f,0x20,0x2f,0x30},{0x21,0x22,0x31,0x32},{0x23,0x24,0x33,0x34},{0x25,0x26,0x35,0x36},
    {0x27,0x28,0x37,0x38},{0x29,0x2a,0x39,0x3a},{0x2b,0x2c,0x3b,0x3a},{0x2d,0x2e,0x3c,0x3d}
};
const uint8_t disabled_buttons[8][4] = {
    {0x3e,0x3f,0x4e,0x4f},{0x40,0x41,0x50,0x51},{0x42,0x43,0x52,0x53},{0x44,0x45,0x54,0x55},
    {0x46,0x47,0x56,0x57},{0x48,0x49,0x58,0x59},{0x4a,0x4b,0x5a,0x59},{0x4c,0x4d,0x5b,0x5c}
};
